import request from '@/utils/request.js'

// 问答记录列表
export function getHistoryList(data) {
  return request({
    url: '/chat/list',
    method: 'GET',
    params: data,
  })
}

// 导出记录
export function recordListAPI(params) {
  return request({
    url: '/api/record/list',
    method: 'GET',
    params,
  })
}
// 删除记录
export function delRecordAPI(params) {
  return request({
    url: '/api/record',
    method: 'DELETE',
    params,
  })
}
